package com.mvity.framework.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mvity.framework.common.base.BaseEntity;

/**
 * 配置数据表
 * 
 * @author vity
 * @date 2012-5-10
 * @mail vity.1215@gmail.com
 */
@Entity
@Table(name = "system_config_details")
public class SystemConfigDetails extends BaseEntity {

	private static final long serialVersionUID = -6397620320275434347L;

	/**
	 * 关联实体类型
	 */
	@Column(name = "entity_name", length = 500, nullable = false)
	private String entityName;

	/**
	 * 关联实体ID
	 */
	@Column(name = "entity_id", length = 32, nullable = false)
	private String entityId;

	/**
	 * 配置项ID
	 */
	@Column(name = "config_key", length = 32, nullable = false)
	private String configKey;

	/**
	 * 配置项值
	 */
	@Column(name = "config_value", length = 1000, nullable = false)
	private String configValue;

	/**
	 * 是否可以手动录入
	 */
	@Column(name = "is_manual_input", length = 5, nullable = false)
	private String isManualInput;

	/**
	 * @return the entityName
	 */
	public String getEntityName() {
		return entityName;
	}

	/**
	 * @param entityName
	 *            the entityName to set
	 */
	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	/**
	 * @return the entityId
	 */
	public String getEntityId() {
		return entityId;
	}

	/**
	 * @param entityId
	 *            the entityId to set
	 */
	public void setEntityId(String entityId) {
		this.entityId = entityId;
	}

	/**
	 * @return the configKey
	 */
	public String getConfigKey() {
		return configKey;
	}

	/**
	 * @param configKey
	 *            the configKey to set
	 */
	public void setConfigKey(String configKey) {
		this.configKey = configKey;
	}

	/**
	 * @return the configValue
	 */
	public String getConfigValue() {
		return configValue;
	}

	/**
	 * @param configValue
	 *            the configValue to set
	 */
	public void setConfigValue(String configValue) {
		this.configValue = configValue;
	}

	/**
	 * @return the isManualInput
	 */
	public String getIsManualInput() {
		return isManualInput;
	}

	/**
	 * @param isManualInput
	 *            the isManualInput to set
	 */
	public void setIsManualInput(String isManualInput) {
		this.isManualInput = isManualInput;
	}

}
